#include"string.h"

void TestString2()
{
	string s1("Hello I'm a class for string");
	const string s2 = "I'm a const string";

	string::iterator it = s1.begin();
	while (it != s1.end())
	{
		cout << *it;
		it++;
	}
	cout << endl;

	string::const_iterator cit = s2.begin();
	while (cit != s2.end())
	{
		cout << *cit;
		cit++;
	}
	cout << endl;

}


int main()
{
	TestString2();
	return 0;
}